package com.platform.dao.mybatis.mapper;

import com.platform.domain.model.RoleAuthorization;
import com.platform.domain.model.RoleAuthorizationKey;

import java.util.List;

/**
* RoleAuthorization
*
* User: wangyang
* DateTime: 2012-10-08 15:47:09
*
*/
public interface RoleAuthorizationMapper {

    // 根据主键查询对象
    RoleAuthorization selectByPrimaryKey(RoleAuthorizationKey key);

    // 根据条件查询对象
    List<RoleAuthorization> select(RoleAuthorization roleAuthorization);

    // 根据主键删除对象
    int deleteByPrimaryKey(RoleAuthorizationKey key);

    // 根据条件删除对象
    int delete(RoleAuthorization roleAuthorization);

    // 插入对象
    int insert(RoleAuthorization roleAuthorization);

    // 根据父ID插入子对象
    int insertByFunSp(RoleAuthorization roleAuthorization);

    // 更新对象
    int update(RoleAuthorization roleAuthorization);

}
